.translate {
  padding: 1.25rem 1rem;

  h3 {
    text-align: center;
    color: #cccccc;
    font-size: 2rem;
  }

  .translate_top,
  .translate_body {
    width: 95%;
    height: 40%;
    margin: 0 auto;
    position: relative;

    .translate_delete {
      position: absolute;
      right: 3vw;
      top: 3vw;
      width: 5vw;
    }

    .translate_yuyin {
      position: absolute;
      right: 2vw;
      top: 12vw;
      width: 6vw;
    }
  }

  .ant-input:hover {
    box-shadow: none;
    border: 1px solid #d9d9d9;
  }

  .translate_TextArea {
    font-size: 18px;
    font-weight: 600;
    padding-right: 2rem;
    resize: none;
  }

  .translate_fanyi {
    width: 10vw;
    display: block;
    margin: 1rem auto;
  }

  .setIsHistory {
    width: 95%;
    height: auto;
    border: 1px solid #e7e7e7;
    margin: 2rem auto;
    padding: 0.6rem 1rem;

    .setIsHistory_top {
      width: 100%;
      height: 8vw;

      img {
        width: 5vw;
      }

      span {
        color: #999999;
        margin-left: 0.8rem;
        font-size: 1rem;
      }
    }

    .setIsHistory_body {
      width: 100%;
      height: auto;
      margin: 1rem 0;
      display: flex;
      flex-wrap: wrap;

      .setIsHistory_body_list {
        max-width: 100%;
        height: 6vw;
        padding: 0 .3125rem;
        border: 1px solid #dcdcdc;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        border-radius: .1875rem;
        color: #999;
        margin: .3125rem;
      }

      .setIsHistory_body_list:active {
        color: #333;
      }
    }
  }
}